package org.lc.service.system.controller;

import io.swagger.v3.oas.annotations.media.Schema;
import org.lc.platform.boot.common.base.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/base")
@Schema(name = "lc-base")
public class BaseController {


    @Schema(name = "system list接口")
    @GetMapping(value = "/sentinel/protected")
    public Result<String> sentinelProtected() {
        return Result.data("访问的是限流测试接口");
    }
}
